<%--
  Created by IntelliJ IDEA.
  User: Avseenko Dmitrij
  Date: 25.03.14
  Time: 9:52
  To change this template use File | Settings | File Templates.
--%>
<%@ taglib prefix="core" uri="http://java.sun.com/jsp/jstl/core" %>

<%@ taglib prefix="tiles" uri="http://tiles.apache.org/tags-tiles" %>
<%@page contentType="text/html" pageEncoding="UTF-8" language="java"%>



<tiles:insertDefinition name="baseTemplate">
    <tiles:putAttribute name="title">
        <title>Типы комплектующих</title>
    </tiles:putAttribute>
    <tiles:putAttribute name="body">

        <script src="js/editOffice.js"></script>

        <div class="container" id="editOfficeMain"  onselectstart="return false" onmousedown="return false">

            <div id="editOfficeMainButtons">
                <button id="addOffice" class="button bg-green fg-white"  onclick="addOffice();" ><i class="icon-plus-2 on-left"></i>Добавить офис</button>
                <button disabled id="removeOffice"  class="button bg-darkRed fg-white" onclick="removeOffice();" > <i class="icon-minus-2 on-left" ></i>Удалить</button>
                <button disabled id="editOffice" class="button bg-orange fg-white" onclick="editOffice();"><i class="icon-pencil on-left"></i>Редактировать</button>
            </div>




                <table class="table striped hovered bordered dataTable" id="tableOffice">
                    <thead>
                    <tr role="row">
                        <th class="text-left">Ид</th>
                        <th class="text-left">Название офиса</th>
                        <th class="text-left">Местоположение</th>
                        <th class="text-left">Адрес</th>
                        <th class="text-left">Менеджер</th>
                    </tr>
                    </thead>

                    <tbody>
                    </tbody>
                </table>

        </div>

    </tiles:putAttribute>
</tiles:insertDefinition>